package com.donleo.daily.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.donleo.common.model.Daily;
import com.donleo.daily.vo.DailyVo;

import java.util.List;

/**
 * <p>
 * 日报表 Mapper 接口
 * </p>
 *
 * @author liangd
 * @since 2020-12-21
 */
public interface DailyMapper extends BaseMapper<Daily> {
    /**
     * 模糊查询
     */
    List<Daily> findAll(DailyVo dailyVo);

    /**
     * 统计条数
     */
    long getCount(DailyVo dailyVo);

    /**
     * 修改状态为已查看
     */
    int updateStatusShowed(Integer id);
}
